package gx.dao.impl.common;

import java.util.List;

import org.springframework.stereotype.Repository;

import gx.dao.NewsTypeDao;
import gx.entity.NewsType;
@Repository
public class NewsTypeDaoImpl extends BaseDaoImpl<NewsType> implements NewsTypeDao{
	public List<NewsType> findByName(String type) {
		return find("from NewsType where type like?", "%" + type + "%");
	}
}
